[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Mon, 9 Dec 2019 14:41:57 +0000 (15:41 +0100)
committerIlias Tsitsimpis <iliastsi@debian.org>
Sun, 3 Oct 2021 11:27:00 +0000 (12:27 +0100)
commitd24548c314bd1c4d501dc334358b6e165f0550c9
treef54c011528ddfd2ff2f1eea1fdca0f0e820f0a67
parentdcf6c777a811fe8f82721bb6f9da74c743e6c17b
[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Include header file `ghcautoconf.h` where the CPP macro
`WORDS_BIGENDIAN` is defined. This finally fixes #17337 (in conjunction
with commit 6c59cc71dc).

Gbp-Pq: Name 3c12355ece0fa14e534c71a9f7327eda9773fad9.patch
libraries/base/GHC/ByteOrder.hs
libraries/base/GHC/IO/Encoding/CodePage/API.hs